package com.example.kafka;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
//@EnableDiscoveryClient
//@MapperScan("com.example.wemedia.mapper")
//@EnableAsync
//@EnableScheduling
@ComponentScan(basePackages = {"com.example.common","com.example.kafka"})
public class KafkaApplication {
    public static  void main(String[] args){
        SpringApplication.run(KafkaApplication.class,args);
    }
}
